# $Id: PKGBUILD 183487 2013-04-22 09:10:14Z tpowa $
# Maintainer: 
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=libksba
pkgver=1.3.0
pkgrel=1
pkgdesc="A CMS and X.509 access library"
arch=(i686 x86_64)
license=('GPL')
url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba"
depends=('bash' 'libgpg-error' 'glibc')
source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2)
options=(!libtool)
install=libksba.install

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

check() {
   cd $srcdir/$pkgname-$pkgver
   make check
}  

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}
md5sums=('cd86fad9c9d360b2cf80449f8a4a4075')
